<include file="Public:header" />
<div id="main" class="main" >
<div class="content">
  <div class="title">修改计划 [ <a href="javascript:history.back()">返回列表</a> ]</div>
<div id="result" class="result none"></div>
<form method='post' id="form1" action="__URL__/update/">
<table cellpadding=3 cellspacing=3 >
<tr>
	<td class="tRight" >计划任务：</td>
	<td class="tLeft" >
    <eq name="_REQUEST.return" value="home">
        <input type="hidden" name="jumpUrl" value="__APP__/Public/main">
    </eq> 
        <input type="text"  name="subject" value="{$vo.subject}" />
  </td>
</tr>
<tr>
	<td class="tRight" >地址：</td>
	<td class="tLeft" >
            <input type="text"  name="address" value="{$vo.address}" />
        </td>
</tr>
<load href="__PUBLIC__/Js/My97DatePicker/WdatePicker.js" />
<tr>
	<td class="tRight" >开始时间：</td>
	<td class="tLeft" >
            <input type="text" name="start_time" value="{$vo.start_time|toDate}" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" />
        </td>
</tr>
<tr>
	<td class="tRight" >结束时间：</td>
	<td class="tLeft" >
            <input type="text"  name="end_time" value="{$vo.end_time|toDate}" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" />
        </td>
</tr>
<tr>
	<td class="tRight" >提醒时间：</td>
	<td class="tLeft" >
            <input type="text"  name="alert_time" value="{$vo.alert_time|toDate}" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"/>
        </td>
</tr>
<tr>
	<td class="tRight" >内容：</td>
	<td class="tLeft" ><textarea name="content" rows="5" cols="15" class="large">{$vo.content}</textarea></td>
</tr>
<tr>
	<td class="tRight">状态：</td>
        <td><select class="middle bLeft"  name="status">
                 <volist name="todoStatus" id="stvo">
                     <option value="{$key} " <eq name='vo.status' value='$key'>selected</eq> >{$stvo}</option>
                </volist>
            </select>
        </td>
</tr>
<tr>
	<td></td>
	<td class="center"><div style="width:85%;margin:5px">
                <input type="hidden" value="{$vo.id}" name="id">
	<div class="impBtn fLeft"><input type="submit" value="保存"  class="save imgButton"></div>
        <div class="impBtn fLeft"><input type="reset" class="reset imgButton" onclick="javascript:history.back()" value="返回" ></div>
	</div></td>
</tr>
</table>
</form>
</div>
</div>
